package com.hxzy.shop.enums;

/**
 * 活动类型 0无活动 1限时折扣 2秒杀 3组合套餐 4满减 5第X件X折 6满赠
 *
 * @author wengjt
 */


public enum ActivityType {

    LimitTimeDiscount("限时折扣", 1),
    Seckill("秒杀", 2),
    BuyItNow("组合套餐", 3),
    FullDiscount("满减",4),
    FullReduction("第X件X折",5),
    FullGift("满赠",6);



    private final String name;
    private final Integer value;

    ActivityType(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
